/**
 * Copyright &copy; 2012-2016 <a href="https://istep.lczyfz.com">Istep</a> All rights reserved.
 */
package com.lczyfz.istep.modules.resource.entity;

import org.hibernate.validator.constraints.Length;
import java.util.Date;

import com.lczyfz.istep.common.persistence.DataEntity;

/**
 * 课程管理Entity
 * @author dh
 * @version 2017-01-16
 */
public class ResourceCourse extends DataEntity<ResourceCourse> {
	
	private static final long serialVersionUID = 1L;
	private String courseName;		// 课程名称
	private String courseAttribute;		// 课程属性
	private String classHour;		// 课时总数
	private String experimentClassHour;		// 实验课时
	private String beginClassHour;		// 开始 课时总数
	private String endClassHour;		// 结束 课时总数
	private String beginExperimentClassHour;		// 开始 实验课时
	private String endExperimentClassHour;		// 结束 实验课时
	private Date beginCreateDate;		// 开始 创建时间
	private Date endCreateDate;		// 结束 创建时间
	private Date beginUpdateDate;		// 开始 更新时间
	private Date endUpdateDate;		// 结束 更新时间

	private String courseSystemId;		// 课程体系id
	private String userId;				//学生id

	//补充字段:课程是否被课程体系选择
	private String isChoose;

	public String getIsChoose() {
		return isChoose;
	}

	public void setIsChoose(String isChoose) {
		this.isChoose = isChoose;
	}

	public ResourceCourse() {
		super();
	}

	public ResourceCourse(String id){
		super(id);
	}

	@Length(min=1, max=64, message="课程名称长度必须介于 1 和 64 之间")
	public String getCourseName() {
		return courseName;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}
	
	@Length(min=1, max=4, message="课程属性长度必须介于 1 和 4 之间")
	public String getCourseAttribute() {
		return courseAttribute;
	}

	public void setCourseAttribute(String courseAttribute) {
		this.courseAttribute = courseAttribute;
	}
	
	@Length(min=0, max=32, message="课时总数长度必须介于 0 和 32 之间")
	public String getClassHour() {
		return classHour;
	}

	public void setClassHour(String classHour) {
		this.classHour = classHour;
	}
	
	@Length(min=0, max=32, message="实验课时长度必须介于 0 和 32 之间")
	public String getExperimentClassHour() {
		return experimentClassHour;
	}

	public void setExperimentClassHour(String experimentClassHour) {
		this.experimentClassHour = experimentClassHour;
	}
	
	public String getBeginClassHour() {
		return beginClassHour;
	}

	public void setBeginClassHour(String beginClassHour) {
		this.beginClassHour = beginClassHour;
	}
	
	public String getEndClassHour() {
		return endClassHour;
	}

	public void setEndClassHour(String endClassHour) {
		this.endClassHour = endClassHour;
	}
		
	public String getBeginExperimentClassHour() {
		return beginExperimentClassHour;
	}

	public void setBeginExperimentClassHour(String beginExperimentClassHour) {
		this.beginExperimentClassHour = beginExperimentClassHour;
	}
	
	public String getEndExperimentClassHour() {
		return endExperimentClassHour;
	}

	public void setEndExperimentClassHour(String endExperimentClassHour) {
		this.endExperimentClassHour = endExperimentClassHour;
	}
		
	public Date getBeginCreateDate() {
		return beginCreateDate;
	}

	public void setBeginCreateDate(Date beginCreateDate) {
		this.beginCreateDate = beginCreateDate;
	}
	
	public Date getEndCreateDate() {
		return endCreateDate;
	}

	public void setEndCreateDate(Date endCreateDate) {
		this.endCreateDate = endCreateDate;
	}
		
	public Date getBeginUpdateDate() {
		return beginUpdateDate;
	}

	public void setBeginUpdateDate(Date beginUpdateDate) {
		this.beginUpdateDate = beginUpdateDate;
	}
	
	public Date getEndUpdateDate() {
		return endUpdateDate;
	}

	public void setEndUpdateDate(Date endUpdateDate) {
		this.endUpdateDate = endUpdateDate;
	}

	public String getCourseSystemId() {
		return courseSystemId;
	}

	public void setCourseSystemId(String courseSystemId) {
		this.courseSystemId = courseSystemId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}
}